package design.strategy;

public class NormalZombie extends Zombie{

    public NormalZombie(){
        super(new StepByStepMove(),new HitAttack());
    }
    public NormalZombie(Moveable moveable, Attackable attackable){
        super(moveable,attackable);
    }
    @Override
    public void display() {

        System.out.println("我是普通僵尸");
    }

    @Override
    void move() {
        moveable.move();
    }

    @Override
    void attck() {
        attackable.attack();
    }
}
